<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:body>
	<ui:composition template="/pages/protected/user/default.xhtml">
		<ui:define name="content">
			<p>#{msgs.loginHeader}</p>
			<form method="post" action="j_security_check">
				<h:messages layout="table" errorStyle="background: #AFEEEE;"
					infoStyle="background: #AFEEEE;" globalOnly="true" />
				<h:panelGrid columns="2">
					<h:outputLabel value="#{msgs.loginUserName} " />
					<input type="text" id="j_username" name="j_username" />
					<h:outputLabel value="#{msgs.loginPassword} " />
					<input type="password" id="j_password" name="j_password" />
					<h:outputText value="" />
					<h:panelGrid columns="1">
						<input type="submit" name="submit" value="#{msgs.loginLogin}" />
					</h:panelGrid>
				</h:panelGrid>
				<br />
			</form>

			<h:form>
				<h:commandLink action="register" value="#{msgs.registerHeader}" />
			</h:form>
		</ui:define>
	</ui:composition>
</h:body>
</html>